package com.learn.hibernatevalidator.chapter02.containerelement.custom;

/**
 * 排挡，齿轮
 *
 * @author: liyf
 * @create: 2024-12-21 20:34
 **/
public class Gear {

    /**
     * 转矩，力矩，扭矩
     */
    private final Integer torque;

    public Gear(Integer torque) {
        this.torque = torque;
    }

    public Integer getTorque() {
        return torque;
    }

    /**
     * 最大
     */
    public static class AcmeGear extends Gear {

        public AcmeGear() {
            super(60);
        }
    }
}
